
on run {param1, param2} 
    
    set gitveupTime to 5

    display dialog param1 buttons {"好的", "暂不处理"} default button 1 giving up after gitveupTime

    if the button returned of the result is "好的" then
        -- action for 1st button goes here
        do shell script param2
    end if
end run

